package infore.com.cn.util;

import java.util.Properties;

public class ConfigUtil {

	private static Properties p = new Properties();

	static {
		try {
			p.load(ConfigUtil.class.getClassLoader().getResourceAsStream(
					"database.properties"));
		} catch (Exception e) {
		}
	}

	public static String getValue(String key){
		return p.getProperty(key);
	}
	
	
}
